<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    function getMeony() {
      let balance = prompt('请输入银行卡余额')
      let consume1 = prompt('请输入当月食宿金额')
      let consume2 = prompt('请输入当月生活消费金额')
      return alert(`银行卡剩余余额${moeny = balance - consume1 - consume2}元`)
    };
    getMeony()
  </script>
</body>

</html>